﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace WSweb
{
    public partial class WSweb : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if(Session["ovlasti"] != null)
                if (Session["ovlasti"].ToString() == "1")
                {
                    admin1.Visible = true;
                    admin2.Visible = true;
                }
        }
    }
}